import 'package:love_newf/generated/json/base/json_field.dart';
import 'package:love_newf/generated/json/friend_user_info_model.g.dart';
import 'dart:convert';
export 'package:love_newf/generated/json/friend_user_info_model.g.dart';

@JsonSerializable()
class FriendUserInfoModel {
	int userId = 0;
	String userCode = '';
	String nick = '';
	String avatar = '';
	int sex = 0;
	int age = 0;
	String province = '';
	String introduction = '';
	String bindTime = '';
	int living = 0;
	int online = 0;
	int loversGrade = 0;
	int tokens = 0;
	int friendType = 0;
	int roomType = 0;
	int roomId = 0;
	int expireTime = 0;
	int expireTokens = 0;
	int isFriend = 0;

	FriendUserInfoModel();

	factory FriendUserInfoModel.fromJson(Map<String, dynamic> json) => $FriendUserInfoModelFromJson(json);

	Map<String, dynamic> toJson() => $FriendUserInfoModelToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}